package com.yb.guigu.pick.security.service;

import com.yb.guigu.pick.core.constant.LoginTypeEnum;
import com.yb.guigu.pick.security.bean.GuiguPickUser;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.util.StringUtils;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/6/13 16:56
 * FileName: GuiguPickUserDetailService
 * Description:
 */
public interface IGuiguPickUserDetailsService extends UserDetailsService {


    GuiguPickUser loadUser(GuiguPickUser guiguPickUser);

    @Override
    GuiguPickUser loadUserByUsername(String username) throws UsernameNotFoundException;
}
